<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CivilizationbyQuentin&amp;BJ:  Fichier source de /home/bj/Projet/lib/IA.hpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CivilizationbyQuentin&BJ</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/bj/Projet/lib/IA.hpp</div>  </div>
</div>
<div class="contents">
<a href="IA_8hpp.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _IA_HPP_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _IA_HPP_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;../lib/Partie.hpp&quot;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 
<a name="l00009"></a><a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06">00009</a> <span class="keyword">enum</span> <a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06">Colonisation</a>
<a name="l00010"></a>00010 {
<a name="l00011"></a><a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06ac7850fde321cd9c17def0e082a8d3efe">00011</a>     <a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06ac7850fde321cd9c17def0e082a8d3efe">pas_possible</a>,
<a name="l00012"></a><a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06a09078b35b93613a18a11aab79c049234">00012</a>     <a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06a09078b35b93613a18a11aab79c049234">deja_colonise</a>,
<a name="l00013"></a><a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06aff6dd9900b73b5cd2ba6f076d49de01d">00013</a>     <a class="code" href="IA_8hpp.html#a01a1bf2b12c362461f44d91bbe578c06aff6dd9900b73b5cd2ba6f076d49de01d">possible</a>
<a name="l00014"></a>00014 };
<a name="l00015"></a>00015 
<a name="l00016"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ce">00016</a> <span class="keyword">enum</span> <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ce">GestionMilitaire</a>
<a name="l00017"></a>00017 {
<a name="l00018"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ceae74e5419782f583973769e8d3d2af8d2">00018</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ceae74e5419782f583973769e8d3d2af8d2">non_atteignable</a>,
<a name="l00019"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea9a38e093c021791580c06f63b8880c33">00019</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea9a38e093c021791580c06f63b8880c33">atteignable</a>,
<a name="l00020"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea69beec2ad655a2724bb626793fb63f62">00020</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea69beec2ad655a2724bb626793fb63f62">ville_adverse</a>,
<a name="l00021"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea3a75b71f8f58116ce6c0b3be194d750d">00021</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea3a75b71f8f58116ce6c0b3be194d750d">ville_aliiee</a>,
<a name="l00022"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea1fdc0033d4787e8126e8039e75082d40">00022</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80cea1fdc0033d4787e8126e8039e75082d40">unite_enemie</a>,
<a name="l00023"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ceacbb50a10c67d12b1c3c3936ec9d73eea">00023</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ceacbb50a10c67d12b1c3c3936ec9d73eea">unite_alliee</a>,
<a name="l00024"></a><a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ceae795adc08c35ca3fd39eaa48c7c4536d">00024</a>     <a class="code" href="IA_8hpp.html#a2953c1026e3d5d5a6d59b3583ecb80ceae795adc08c35ca3fd39eaa48c7c4536d">drapeau</a>
<a name="l00025"></a>00025 };
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="keywordtype">void</span> <a class="code" href="IA_8hpp.html#ad77db8038bfd3d67e5a183f8c943c1e2">Initialisation_IA</a>( <a class="code" href="structPartie.html">Partie</a> * P);
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keywordtype">void</span> <a class="code" href="IA_8hpp.html#a8800298ff9f288a3c993ff9b6dd52dd0">Mise_A_Jour_IA</a> ( <a class="code" href="structPartie.html">Partie</a> * P );
<a name="l00031"></a>00031 
<a name="l00035"></a>00035 <span class="keywordtype">int</span> <a class="code" href="IA_8hpp.html#a5e0ebaf2cba8962ca19bac175e2125b1">Action_Colon</a> ( <a class="code" href="structUnite.html">Unite</a> * C , <a class="code" href="structPartie.html">Partie</a> * P);
<a name="l00036"></a>00036 
<a name="l00040"></a>00040 <span class="keywordtype">int</span> <a class="code" href="IA_8hpp.html#af25c05aa06942d26c0f208a6b5966b9b">Action_Guerrier</a> ( <a class="code" href="structUnite.html">Unite</a> * G, <a class="code" href="structPartie.html">Partie</a> * P);
<a name="l00041"></a>00041 
<a name="l00044"></a>00044 <span class="keywordtype">int</span> <a class="code" href="IA_8hpp.html#a31286087857110c34a9c96b53d69ccfc">Choix_IA_Unite</a>(<a class="code" href="structPartie.html">Partie</a> * P, <span class="keywordtype">int</span> i);
<a name="l00045"></a>00045 
<a name="l00049"></a>00049 <span class="keywordtype">int</span> <a class="code" href="IA_8hpp.html#aa4ba46684cbeda6cd38ff5fc3d94a138">Choix_IA_Ville</a> ( <a class="code" href="structPartie.html">Partie</a> * P, <span class="keywordtype">int</span> i);
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Mon Jun 4 2012 15:07:05 pour CivilizationbyQuentin&BJ par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
